package com.example.mq.common.basic;

import com.example.mq.common.BasicReturns;
import com.example.mq.mqServer.core.message.BasicProperties;
import lombok.Data;

import java.io.Serializable;

/**
 * @BelongsProject: 0.mq
 * @BelongsPackage: com.example.mq.common.basic
 * @Author : 游在海里的鱼
 * @CreateTime : 2024-01-03  22:30
 * @Version : 1.0
 * @Description : 服务器推送给客户端的消息
 */
@Data
public class SubScribeReturn extends BasicReturns implements Serializable {
    //消费者标识符
    private String consumerTag;
    //消息
    private BasicProperties basicProperties;
    private byte[] body;
}
